#include<iostream>
using namespace std;
typedef long long LL;
const int N = 1e5 + 10;
const LL mod = 998244353;
LL fun(int a, int b)
{
	LL ans = 1;
	while (b) {
		if (b & 1)ans = ans * a % mod;
		a = a * a % mod;
		b >>= 1;
	}
	return ans;
}
int main()
{
	//9/125
	//cout << fun(2,6) << endl;
	cout << 9 * fun(125, mod - 2) % mod << endl;
	return 0;
}